package com.hkyp.ss.coursewebadmin.dto.request;


import com.hkyp.ss.coursewebadmin.dto.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class WebAdminLoginRequestDTO extends BaseDTO {


    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名")
    private String nickName;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;

}
